<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>登录</title>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<c:set var="path" value="<%=basePath%>"></c:set>
<link href="${path }/css/bootstrap/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
	<div style="margin-top: 100px;text-align: center;color: green;">
		<h2>成绩：${examScore}分</h2>
		<div style="display: none">
			<input type="text" value="${clazz_id }" id="clazz_id" /> <input
				type="text" value="${studentId }" id="studentId" />
		</div>
		<div>
			<input type="button" value="返回考试中心" id="fanhui" />&nbsp;&nbsp;&nbsp;<input
				type="button" value="查看试卷" id="huiguExam" />
		</div>
	</div>
	<!-- js引入 -->
	<script src="${path }/js/jquery.js"></script>
	<script src="${path }/js/bootstrap/bootstrap.min.js"></script>
	<script src="${path }/js/login.js"></script>
	<script type="text/javascript">
		$(function() {
			alert("恭喜你完成考试");
			$("#fanhui")
					.click(
							function() {
								location.href = "http://localhost:8080/schoolsystem/willexams?clazz_id="
										+ $("#clazz_id").val()
										+ "&user_id="
										+ $("#studentId").val();
							});
			$("#huiguExam")
					.click(
							function() {
								location.href = "http://localhost:8080/schoolsystem/history/"
										+ $("#studentId").val();
							})
		})
	</script>
</body>
</html>